Automattic\Jetpack_Boost\Lib\Metrics S

Total Complexity 30
Dependencies 10
Dependents 1
Total lines 367
Lines of code 222
Logical lines of code 86
Comment lines 88
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
process_metrics_request()
A
47 7 40
dispatch_metrics_request()
S
48 6 34
get_metric_graph()
S
54 6 19
register_rest_routes()
S
43 1 67
delete_metrics_request()
S
54 3 21
fetch_metrics_request()
S
65 2 8
handle_metrics_callback_error()
S
62 1 12
handle_metrics_callback_success()
S
64 1 11
__construct()
S
79 1 3
format_metrics_request_response()
S
76 1 4
can_manage_options()
S
80 1 3